#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import time

from visual.graph import gcurve
from visual.graph import color
from visual.graph import arange
from visual.graph import cos
from visual.graph import exp

def plot():
    f1 = gcurve(color=color.cyan)    # a graphics curve
    for x in arange(0, 8.05, 0.1):   # x goes from 0 to 8
        f1.plot(pos=(x,5*cos(2*x)*exp(-0.2*x))) # plot

def main():
    plot()
    time.sleep(20)

if __name__ == "__main__":
    main()

